<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<%
    //从上一页面点击row过来，传了row id 过来
//pageContext.setAttribute("_prePageListId",request.getParameter("_id"));
    pageContext.setAttribute("_prePageListId", request.getParameter("_id") == null ? "" : request.getParameter("_id"));
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Insert title here</title>
    <script type="text/javascript">
        var isIe = $.browser.msie;
        var valueFilterNum = 0;

        //定义全局变量记录分页信息
        var paramData = {
            page: 1,
            rows: 60,
            sortOrder: 'desc',
            sortColumn: ''
        };
        var msgOut = {};

        $(function () {
            $(pager).pagination({
                displayMsg: '<span style="color: red; margin-right: 100px;"></span>' +
                    '当前显示 {from} - {to} 条记录   共 {total} 条记录'
            });
        })

    </script>
    <style type="text/css">
        .condition {
            float: left;
            height: 25px;
            border: 1px solid #fff;
        }

        .condition .mylabel {
            width: 80px;
            float: left;
            border: 0px solid #fff;
        }

        .condition .myinput {
            width: 150px;
            float: left;
            border: 0px solid #fff;
        }

        .condition .myfilter {
            width: 200px;
            float: left;
            border: 0px solid #fff;
        }

        .clearboth {
            clear: both;
        }

    </style>
</head>

<%@taglib uri="/struts-tags" prefix="s" %>
<body>
<div class="easyui-layout" data-options="fit:true" id="conditionNorth" style="visibility:hidden;">
    <div data-options="region:'east'" style="width:100px;text-align:center; ">
        <div style="height: 2px;"></div>
        <a id='queryBtn_Filter' href='#' class='easyui-linkbutton' data-options="iconCls:'icon-search'"
           onclick='javascript:queryBtn_Filter();'>查询</a>
    </div>
    <div data-options="region:'center'" style="overflow:hidden;  padding-left: 3px;padding-top: 3px;">
        <div id="_conditionContentDiv" style="border: 0px solid red;">
            <script type="text/javascript">
                var columnPropertyArr = new Array();
                var columnPropertyTypeArr = new Array();
            </script>
            <%--<div class="condition">
                <div class="item">
                    <label class="mylabel">类型：</label>
                    <div class="myinput">
                        <!-- 数据字典取值 -->
                        <s:select
                                id="advBrandType"
                                name="advBrandType"
                                value=""
                                list="#attr._enumData.AdvBrandType4condition"
                                listKey="keyName"
                                listValue="valueName"
                                theme="simple"
                                cssStyle="width:100px"
                                data-options="editable:false"
                                cssClass="easyui-combobox"/>
                    </div>
                    <script type="text/javascript">
                        columnPropertyArr[columnPropertyArr.length] = 'advBrandType';
                        columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
                    </script>
                </div>

            </div>--%>

			<div class="condition">
				<div class="item">
					<label class="mylabel">安检信息：</label>
					<div class="myinput">
						<!-- 数据字典取值 -->
						<s:select
								id="advSecurityInfo"
								name="advSecurityInfo"
								value=""
								list="#attr._enumData.AdvSecurityInfo4condition"
								listKey="keyName"
								listValue="valueName"
								theme="simple"
								cssStyle="width:100px"
								data-options="editable:false"
								cssClass="easyui-combobox"/>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'advSecurityInfo';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
					</script>
				</div>

			</div>
            <div class="condition">
                <div class="item">
                    <label class="mylabel">设置方式：</label>
                    <div class="myinput">
                        <!-- 数据字典取值 -->
                        <s:select
                                id="advSetMode"
                                name="advSetMode"
                                value=""
                                list="#attr._enumData.AdvSetMode4condition"
                                listKey="keyName"
                                listValue="valueName"
                                theme="simple"
                                cssStyle="width:100px"
                                data-options="editable:false"
                                cssClass="easyui-combobox"/>
                    </div>
                    <script type="text/javascript">
                        columnPropertyArr[columnPropertyArr.length] = 'advSetMode';
                        columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
                    </script>
                </div>

            </div>
            <div class="condition">
                <div class="item">
                    <label class="mylabel">审批信息：</label>
                    <div class="myinput">
                        <!-- 数据字典取值 -->
                        <s:select
                                id="advApproval"
                                name="advApproval"
                                value=""
                                list="#attr._enumData.AdvApproval4condition"
                                listKey="keyName"
                                listValue="valueName"
                                theme="simple"
                                cssStyle="width:100px"
                                data-options="editable:false"
                                cssClass="easyui-combobox"/>
                    </div>
                    <script type="text/javascript">
                        columnPropertyArr[columnPropertyArr.length] = 'advApproval';
                        columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
                    </script>
                </div>

            </div>
            <div class="condition">
                <div class="item">
                    <label class="mylabel">结构类型：</label>
                    <div class="myinput">
                        <!-- 数据字典取值 -->
                        <s:select
                                id="advStructureType"
                                name="advStructureType"
                                value=""
                                list="#attr._enumData.AdvStructureType4condition"
                                listKey="keyName"
                                listValue="valueName"
                                theme="simple"
                                cssStyle="width:100px"
                                data-options="editable:false"
                                cssClass="easyui-combobox"/>
                    </div>
                    <script type="text/javascript">
                        columnPropertyArr[columnPropertyArr.length] = 'advStructureType';
                        columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
                    </script>
                </div>

            </div>
            <div class="condition">
                <div class="item">
                    <label class="mylabel">设置高度：</label>
                    <div class="myinput">
                        <!-- 数据字典取值 -->
                        <s:select
                                id="advSetHeight"
                                name="advSetHeight"
                                value=""
                                list="#attr._enumData.AdvSetHeight4condition"
                                listKey="keyName"
                                listValue="valueName"
                                theme="simple"
                                cssStyle="width:100px"
                                data-options="editable:false"
                                cssClass="easyui-combobox"/>
                    </div>
                    <script type="text/javascript">
                        columnPropertyArr[columnPropertyArr.length] = 'advSetHeight';
                        columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';
                    </script>
                </div>

            </div>
			<div class="condition">
				<div class="item">
					<label class="mylabel">审批期限：</label>
					<div class="myinput">
						<input type="text" class="easyui-textbox" id="advApprovalTerm" name="advApprovalTerm"
							   placeholder=""/>
					</div>
					<script type="text/javascript">
						columnPropertyArr[columnPropertyArr.length] = 'advApprovalTerm';
						columnPropertyTypeArr[columnPropertyTypeArr.length] = 'input';
					</script>
				</div>

			</div>
            <%--<div class="condition">--%>
            <%--<div class="item">--%>
            <%--<label class="mylabel">材质：：</label>--%>
            <%--<div class="myinput">--%>
            <%--<!-- 数据字典取值 -->--%>
            <%--<s:select--%>
            <%--id="advMaterial"--%>
            <%--name="advMaterial"--%>
            <%--value=""--%>
            <%--list="#attr._enumData.AdvMaterial4condition"--%>
            <%--listKey="keyName"--%>
            <%--listValue="valueName"--%>
            <%--theme="simple"--%>
            <%--cssStyle="width:100px"--%>
            <%--data-options="editable:false"--%>
            <%--cssClass="easyui-combobox"/>--%>
            <%--</div>--%>
            <%--<script type="text/javascript">--%>
            <%--columnPropertyArr[columnPropertyArr.length] = 'advMaterial';--%>
            <%--columnPropertyTypeArr[columnPropertyTypeArr.length] = 'combobox';--%>
            <%--</script>--%>
            <%--</div>--%>

            <%--</div>--%>

            <div class="clearboth"></div>
            <div style="height: 0px;"></div>
        </div>
    </div>
</div>
</body>
</html>
